﻿<div id="NavigationBar">
</div>
<script type="text/javascript">
    $(function () {
        $.get('@Url.Content("~/XMLFile/NavigationBar.xml")', function (data) {
            var s = "<ul>";
            $(data).find('a').each(function () {
                s = s + '<li><a href=\'' + $(this).attr('href') + '\'>' + $(this).text() + '</a></li>';
            });
            s = s + '</ul>';
            document.getElementById("NavigationBar").innerHTML = s;
        });
    });    
</script>


